<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../../config.inc.php");

$_LangPath = "selectgline";
$strTemplatePath = __Admintemplate_Path."/SelectGLine/";
include_once(__Admin_Path."/logincheck.php");
include_once(__Language_Path."/selectlanguage_admin.php");
include_once(__Modules_Path."/SQLUtility.lib.php");
include_once(__Common_Path."/Lotto.inc.php");

$arrPower = CheckUsePower("selectgline");
if($arrPower === false)ErrMsgOutputHTML("Error", "", 1);

$SessionSQL = "bet_SelectGLineSQL";
switch($_data["op"]){
	case "Add":							//新增表單
		include("Add.php");
		break;

	case "Insert":						//新增資料
		include("Insert.php");
		break;

	case "Edit":						//編輯表單
		include("Edit.php");
		break;

	case "Update":						//更改資料
		include("Update.php");
		break;

	case "Del":							//刪除資料
		include("Del.php");
		break;

	case "Search":						//搜尋表單
		include("Search.php");
		break;

	case "Lists":
		$_SESSION[$SessionSQL] = "";
	default:							//清單
		include("List.php");
		break;
}
@mysql_close($$_Conn);
?>